import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
const pathResolve = (dir: string) => {
  return resolve(__dirname, '.', dir)
}
// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  root: process.cwd(),
  resolve: {
    alias:{
      '@': pathResolve('src')
    },
  }, // 路径别名配置
})
